package com.itheima.mapper;

import com.itheima.common.Com.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OrderMapper {

    List<Order> page(@Param("beginTime") String beginTime, @Param("endTime") String endTime, @Param("number") String number, @Param("start") Integer start, @Param("pageSize") Integer pageSize);

    Long count(@Param("number") String number);

    Boolean update(Order order);

}
